package com.edu.chat.web.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 文件信息表
 * @TableName cs_file
 */
@TableName(value ="cs_file")
@Data
public class CsFile extends BaseDo{
    /**
     * 文章ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 图书馆ID
     */
    @TableField(value = "library_id")
    private String libraryId;

    /**
     * 分类的唯一标识符
     */
    @TableField(value = "category_id")
    private String categoryId;

    /**
     * 文章标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 文件类型
     */
    @TableField(value = "file_type")
    private String fileType;

    /**
     * 文件URL
     */
    @TableField(value = "file_url")
    private String fileUrl;


    @TableField(value = "file_size")
    private String fileSize;

    @TableField(value = "object_name")
    private String objectName;

}